//
//  NSString+AttributeStr.h
//  MoodDiary
//
//  Created by ext.tanjian3 on 2022/1/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (AttributeStr)


/**
 *  富文本转html字符串
 */
+ (NSString *)attriToStrWithAttri:(NSAttributedString *)attri;

/**
 *  字符串转富文本
 */
+ (NSAttributedString *)strToAttriWithStr:(NSString *)htmlStr;


@end

NS_ASSUME_NONNULL_END
